﻿using Face8280WebSocketServer.Utility.VerifyAttribute;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace Face8280WebSocketServer.DTO.Log
{
    public class FaceIOLogQueryParameter: BasePageParameter
    {
        [VerifyText(iMax: 30, iMin: 0, required: false, errCode: 1, sErrorDesc: "设备SN由1-30个字符组成")]
        public string DeviceSN { get; set; }
        /// <summary>
        /// 日志开始时间
        /// </summary>
        public DateTime LogTimeBegin { get; set; }
        /// <summary>
        /// 日志结束时间
        /// </summary>
        public DateTime LogTimeEnd { get; set; }
        /// <summary>
        /// IP地址
        /// </summary>
        public string IpAddr { get; set; }
        /// <summary>
        /// 方式
        /// </summary>
        public string Method { get; set; }
        /// <summary>
        /// 内容
        /// </summary>
        public string Body { get; set; }
    }
}
